package com.zhr.tea.api;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ym on 2016/11/1.
 */

public interface ShouyeService {
    String BASE_URL = "http://120.55.137.143:54321/service/";
    String BASEBANNER_URL = "http://www.teapaopao.com:8099/";
    String HEAD_URL = "tea/common/getJsHomePageAdColumnList.do?callback=callbackJsHomePageHandler&jsonp=true&_=1477909882963";
    String BODYCENTENT_URL = "teabubble/ad?methods=searchNewHomePage&jsonp_method=jQuery1102018145003775134683_1477908497906&jsonp=true&_=1477908497907";
    String ENDCENTENT_URL = "teabubble/ad?methods=recomGoodsPage&jsonp_method=jQuery110204845989567693323_1477908863047&jsonp=true&beginId=0&count=20&_=1477908863049";
    String CHAYI_URL="http://www.teapaopao.com:8099/tea/clientShare/getTeaTalkList.do";
    @GET(HEAD_URL)
    Call<ResponseBody> getBannerData();

    @GET(BODYCENTENT_URL)
    Call<ResponseBody> getBodyData();

    @GET("teabubble/ad?methods=recomGoodsPage&jsonp_method=jQuery110204845989567693323_1477908863047&jsonp=true&count=20&_=1477908863049")
    Call<ResponseBody> getEndData(@Query("beginId") int page);

}
